package org.istone.study.mybatis.service;

import java.util.Date;
import java.util.List;

import org.istone.study.mybatis.model.Student;

/**
 * @author Administrator
 * @date Jan 17, 2012 2:48:13 PM
 */
public interface StudentDataService {
    public Student getStudentById(String identifier);

    public List<Student> queryStudentsByFirstName(String firstName);

    public List<Student> queryStudentsByLastName(String lastName);

    public List<Student> queryStudentsByBirthday(Date birthday);

    public boolean addStudent(Student student);

    public boolean addStudents(List<Student> students);

    public boolean updateStudentInfo(Student student);

    public boolean updateStudentsInfo(List<Student> students);

    public boolean deleteStudent(Student student);

    public boolean deleteStudents(List<Student> students);
}
